-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Important! Template update for nf-core/tools v2.13 #380
Conversation
|
7543388
to
1b7c149
Compare
1b7c149
to
ef19238
Compare
Following the template
ef19238
to
c6176ef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Several comments! Mainly because I am now second guessing how I handled the template merge in phageannotator and mag haha
@@ -17,7 +17,7 @@ jobs: | |||
aligner: ["bismark", "bismark_hisat", "bwameth"] | |||
steps: | |||
- name: Launch workflow via tower | |||
uses: seqeralabs/action-tower-launch@v2 | |||
uses: seqeralabs/action-tower-launch@922e5c8d5ac4e918107ec311d2ebbd65e5982b3d # v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this one work now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Schrödinger's action 🤷🏻♂️
.groupTuple() | ||
.map { | ||
meta, fastq -> | ||
def meta_clone = meta.clone() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you not just replace the id?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know, honestly. I think there's a section in the advanced training on this. @sateeshperi just updated it in #381.
As I said above, I think we need to turn this into a subworkflow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's right - see bytesize by Rob Syme about workflow safety & immutable objects tl;dr - never modify meta maps in place
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I'm going to have to steal some of these changes you made 😅
Version
2.13
of nf-core/tools has just been released with updates to the nf-core template. This automated pull-request attempts to apply the relevant updates to this pipeline.Please make sure to merge this pull-request as soon as possible, resolving any merge conflicts in the
nf-core-template-merge-2.13
branch (or your own fork, if you prefer). Once complete, make a new minor release of your pipeline.For instructions on how to merge this PR, please see https://nf-co.re/docs/contributing/sync/.
For more information about this release of nf-core/tools, please see the
v2.13
release page.